package leader.action;

import leader.service.DirectProjectService;
import teacher.bean.Project;

public class DirectProjectCancelcheckAction {
	private Project project;

	public Project getProject() {
		return project;
	}

	public void setProject(Project project) {
		this.project = project;
	}
	public String execute() {
		project.setState(0);
		DirectProjectService PS = new DirectProjectService();
		PS.updateProjectState(project);
		return "success";
	}
}
